package com.mangofactory.aop
{
	public class SimpleCalculator
	{
		public var wasCalled:Boolean;
		public function SimpleCalculator()
		{
			trace("Constructor");
		}
		[Log]
		public function add(a:int,b:int):int
		{
			wasCalled = true;
			return a + b;
		}
		public function multiply(a:int,b:int):int
		{
			wasCalled = true;
			return a * b;
		}
	}
}